package com.cy.dao;

import com.cy.pojo.Student;

import java.util.List;

/**
 * Created with IDEA2020.3.3 JDK1.8 Mysql 5.7 maven3.6.3
 *
 * @Auther: 张鹏宇
 * @Date: 2021/04/12/15:55
 * @Description:
 */
public interface StudentDao06 {

/**
 * @Author ZPY
 * @Date 17:54 2021/6/20
 * @Description: //TODO SQl语句中带if
 * @Param [student]
 * @return java.util.List<com.cy.pojo.Student>
 */
    List<Student> SelectStudentIf(Student student);

/**
 * @Author ZPY
 * @Date 18:40 2021/6/20
 * @Description: //TODO where标签的用法
 * @Param [student]
 * @return java.util.List<com.cy.pojo.Student>
 */
    List<Student> SelectStudentwhere(Student student);

    /**
     * @Author ZPY
     * @Date 19:19 2021/6/20
     * @Description: //TODO foreach标签的使用
     * @Param [student]
     * @return java.util.List<com.cy.pojo.Student>
     */
    List<Student> SelectStudentforeach (Student student);


    List<Student> SelectStudentforeach2 (List list);

    List<Student> SelectStudentforeach3 (List<Student> list);


    List<Student> SelectStudentAll ();

}
